package com.yxw.live_vod_facade.dto;



import io.swagger.annotations.ApiModel;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Data;

/*** 
*@author Jiaxu.Huang
*@date 2023/12/5 16:32:47
*@update 2023/12/5 16:32:47
**/
@Data
@ApiModel(value="YxLiveShopPunishQueryDTO", description="管理员查询处罚参数")
public class YxLiveShopPunishQueryDTO implements Serializable
{
    private static final long serialVersionUID = 217017607159L;
    
    
    /**
    *违规ID 主键
    */
    //@NotNull(message = "违规ID 主键不可为空")
    @ApiModelProperty(value = "违规ID 主键")
    private Long punishId;

    /**
    *店铺名称
    */
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    
    /**
    *店铺Id
    */
    @ApiModelProperty(value = "店铺Id")
    private Long liveShopId;
    
    /**
    *直播ID
    */
    @ApiModelProperty(value = "直播ID")
    private String liveId;

    /**
    *商户名称
    */
    @ApiModelProperty(value = "商户名称")
    private String merchantName;
    /**
    *违规Id
    */
    @ApiModelProperty(value = "违规Id")
    private Integer violationId;
    /**
    *违规类型名称
    */
    @ApiModelProperty(value = "违规类型名称")
    private String violationReson;
    /**
    * 处罚类别:0罚款,1直播流,2直播间
    */
    @ApiModelProperty(value = " 处罚类别:0罚款,1直播流,2直播间")
    private Long punishType;
    /**
    *处罚时间始
    */
    @ApiModelProperty(value = "处罚时间始")
    private Long punishTimeStart;
    /**
    *处罚时间止
    */
    @ApiModelProperty(value = "处罚时间止")
    private Long punishTimeEnd;

    /**
    *创建人ID
    */
    @ApiModelProperty(value = "创建人ID")
    private String createUserId;
    /**
    *创建人名称
    */
    @ApiModelProperty(value = "创建人名称")
    private String createUserName;
    /**
    *创建时间
    */
    @ApiModelProperty(value = "查询开始创建时间")
    private java.util.Date queryCreateTimeStart;
    /**
    *创建时间
    */
    @ApiModelProperty(value = "查询结束创建时间")
    private java.util.Date queryCreateTimeEnd;
    
    @ApiModelProperty(value = "当前页", required = false)
    private Integer currPage;

    @ApiModelProperty(value = "每页数据条数", required = false)
    private Integer pageSize;


    @Getter
    public Integer getCurrPage() {
        return null == currPage ? 0 : currPage;
    }

    @Getter
    public Integer getPageSize() {
        return null == pageSize ? 10 : pageSize;
    }    
    /**
    *将DTO转换为ENTITY
   
    public YxLiveShopPunishEntity ConverToEntity()
    {
        YxLiveShopPunishEntity oYxLiveShopPunishEntity = new YxLiveShopPunishEntity ();
        oYxLiveShopPunishEntity.setId(punishId) ;
        oYxLiveShopPunishEntity.setShopName(shopName) ;
        oYxLiveShopPunishEntity.setLiveId(liveId) ;
        oYxLiveShopPunishEntity.setMerchantName(merchantName) ;
        oYxLiveShopPunishEntity.setViolationId(violationId) ;
        oYxLiveShopPunishEntity.setViolationReson(violationReson) ;
        oYxLiveShopPunishEntity.setPunishType(punishType) ;
        oYxLiveShopPunishEntity.setPunishTimeStart(punishTimeStart) ;
        oYxLiveShopPunishEntity.setPunishTimeEnd(punishTimeEnd) ;
        oYxLiveShopPunishEntity.setCreateUserId(createUserId) ;
        oYxLiveShopPunishEntity.setCreateUserName(createUserName) ;
        oYxLiveShopPunishEntity.setCreateTime(createTime) ;
        return oYxLiveShopPunishEntity;
    }
    */ 
}